package com.lxmes.gs.service;

import java.util.List;
import com.baomidou.mybatisplus.extension.service.IService;
import com.lxmes.gs.domain.WorkingHoursSubmission;

/**
 * 工时提报Service接口
 * 
 * @author wdf
 * @date 2023-04-24
 */
public interface IWorkingHoursSubmissionService extends IService<WorkingHoursSubmission>{
    /**
     * 查询工时提报
     * 
     * @param id 工时提报主键
     * @return 工时提报
     */
    public WorkingHoursSubmission selectWorkingHoursSubmissionById(Long id);

    /**
     * 查询工时提报列表
     * 
     * @param workingHoursSubmission 工时提报
     * @return 工时提报集合
     */
    public List<WorkingHoursSubmission> selectWorkingHoursSubmissionList(WorkingHoursSubmission workingHoursSubmission);

    /**
     * 新增工时提报
     * 
     * @param workingHoursSubmission 工时提报
     * @return 结果
     */
    public int insertWorkingHoursSubmission(WorkingHoursSubmission workingHoursSubmission);

    /**
     * 修改工时提报
     * 
     * @param workingHoursSubmission 工时提报
     * @return 结果
     */
    public int updateWorkingHoursSubmission(WorkingHoursSubmission workingHoursSubmission);

    /**
     * 批量删除工时提报
     * 
     * @param ids 需要删除的工时提报主键集合
     * @return 结果
     */
    public int deleteWorkingHoursSubmissionByIds(Long[] ids);

    /**
     * 删除工时提报信息
     * 
     * @param id 工时提报主键
     * @return 结果
     */
    public int deleteWorkingHoursSubmissionById(Long id);
    /**
     * 导入工时提报信息
     *
     * @return 结果
     */
    String imporIteminfo(List<WorkingHoursSubmission> workingHoursSubmissionList, boolean updateSupport);

    /**
     * 工时提报审核
     * @param ids
     * @return
     */
    int auditWorkingHoursSubmission(Long[] ids);
}
